package com.yhans.dao;


import com.github.pagehelper.Page;
import com.yhans.pojo.CheckItem;

import java.util.List;

public interface CheckItemDao {

    public void add(CheckItem checkItem);

    public Page<CheckItem> selectByCondition(String queryString);

    //判断检查项是否被引用
    public long findCountByCheckItemId(Integer id);

    //删除检查项
    public void deleteById(Integer id);

    public CheckItem findById(Integer id);

    public void edit(CheckItem checkItem);

    public List<CheckItem> findAll();

}
